#include "dmu.h"
#include "components/umi/umi_static.h"


NO_INIT volatile dmu_status_t Dmu_Status;   // 可以考虑直接定义在FLASH中


void Dmu_SaveStatus()
{
    Umi_Write(DMU_STATUS_ADDR, (u8 *)&Dmu_Status, sizeof(dmu_status_t));
}

void Dmu_LoadStatus()
{
    Umi_Read(DMU_STATUS_ADDR, (u8 *)&Dmu_Status, sizeof(dmu_status_t));
}

